﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUEnterPriseSpaceLeftBaseInfo.ascx.cs"
    Inherits="NJL.Web.Controls.WUEnterPriseSpaceLeftBaseInfo" %>
<%
    if (modelCompany.CLAIM_STATE != 1 && (UserId == "" || UserName == ""))
    {
%>
<script language="javascript" type="text/javascript">
    var cxrz;
    $(document).ready(function () {
        //示例9，综合效果
        cxrz = new PopupLayer({ trigger: "#noClaim", popupBlk: "#blk9cxrz", closeBtn: "#close9cxrz", useOverlay: true, useFx: true,
            offsets: {
                x: 0,
                y: -41
            }
        });
        cxrz.doEffects = function (way) {
            if (way == "open") {

                this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                    this.popupLayer.animate({
                        left: ($(document).width() - this.popupLayer.width()) / 2,
                        top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                        opacity: 0.8
                    }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                } .binding(this));

            }
            else {
                this.popupLayer.animate({
                    left: this.trigger.offset().left,
                    top: this.trigger.offset().top,
                    opacity: 0.1
                }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
            }
        }
        login.onclick = closecxrz;
    });
    //关闭为登录层
    function closecxrz() {
        cxrz.close();
    }


</script>
<!--未状态认领-->
<div class="blk popup_main" id="blk9cxrz" style="width: 758px; height: 400px;">
    <div class="popup_title popup_title02">
        <span class="float_r"><a href="javascript:void(0)" class="close" title="关闭" id="close9cxrz">
        </a></span>
    </div>
    <div class="popcont">
        <!--left-->
        <div class="float_l w_340 popleftbor">
            <h2>
                <strong>对不起您还未登录，请登录后完成此操作</strong></h2>
            <div class="font14">
                <p class="m_top_10">
                    已有农家乐帐号：<strong class="poplink02"><a id="login" style="cursor: pointer" title="立即登录认领">立即登录认领</a></strong></p>
                <p class="m_top_10">
                    有以下账号可直接登录：</p>
                <p class="popFastligin">
                    <span class="qq"><a href="javascript:openQQ()" style="cursor: pointer" class="qqtop bluelink"
                        title="QQ帐号登录"></a></span><span class="qq"><a href="javascript:openSina()" style="cursor: pointer"
                            class="sinatop bluelink" title="新浪微博帐号登录"></a></span><span class="qq"><a href="javascript:openRenRen()"
                                style="cursor: pointer" class="renrentop bluelink" title="人人帐号登录"></a>
                    </span>
                </p>
                <p class="m_top_10 cleanFlex">
                    还没有农家乐帐号：<strong class="poplink02"><a href="/Register.aspx" target="_blank" title="快速注册认领">快速注册认领</a></strong></p>
            </div>
            <div class="m_top_10">
                <p class="font14">
                    <strong>认领商户，您可以</strong></p>
                <ul class="arrowlist m_top_10">
                    <li>发布商户的特色信息，吸引跟多的游客</li>
                    <li>申请开通预定功能，进行在线销售</li>
                    <li>发布商铺的活动信息，时时促销优惠</li>
                    <li>不受宣传地域的限制，共享全国客户</li>
                </ul>
            </div>
        </div>
        <!--right-->
        <div class="float_r w_366">
            <h2>
                <strong>您也可以选择以下方式认领</strong></h2>
            <dl class="claimlist">
                <dt><strong>在线QQ</strong>:<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>&site=qq&menu=yes"><img
                    border="0" src="http://wpa.qq.com/pa?p=2:<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>:41"
                    alt="点击这里给我发消息" title="点击这里给我发消息" align="absmiddle" /></a></dt>
                <dd>
                    与我们的客服QQ进行沟通，进行网络进行商户的快速认领。</dd>
            </dl>
            <dl class="popcontact claimlist m_top_10">
                <dt><strong>电话认领</strong>：<span class="orange font14"><%=MODEL_BASE.WEBSITE_CONTACT_TEL%></span><span><%=MODEL_BASE.WEBSITE_CONTACT%></span></dt>
                <dd>
                    致电农家乐网，我们的客服人员会协助您进行此商户的认领。</dd>
            </dl>
            <dl class="claimlist m_top_10">
                <dt><strong>邮箱认领</strong>：<strong class="bluelink"><a href="mailto:<%=MODEL_BASE.WEBSITE_CONTACT_EMAIL%>"><%=MODEL_BASE.WEBSITE_CONTACT_EMAIL%></a></strong></dt>
                <dd>
                    您可以将以下相关资料发送至我们的客服邮箱，我们的工作人员会尽快与您联系，完成商户认领。</dd>
                <dd class="contlist">
                    <span>(1)您的联系方式</span><span>(2)营业执照复印件</span><span>(3)税务登记证复印件</span>
                </dd>
            </dl>
        </div>
    </div>
    <!--提示-->
    <div class="cleanFlex">
    </div>
    <div class="popPrompt m_top_10 center">
        <p class="orange">
            <strong>认领商户，轻松管理，快捷营销，为游客提供更贴心、更方便的服务！</strong>
        </p>
    </div>
</div>
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        //示例9，综合效果
        var dingpiao = new PopupLayer({ trigger: "#login", popupBlk: "#blk9dingpiao", closeBtn: "#close9dingpiao", useOverlay: true, useFx: true,
            offsets: {
                x: 0,
                y: -41
            }
        });
        dingpiao.doEffects = function (way) {
            if (way == "open") {

                this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                    this.popupLayer.animate({
                        left: ($(document).width() - this.popupLayer.width()) / 2,
                        top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                        opacity: 0.8
                    }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                } .binding(this));
                document.getElementById('Logindingpiao').src = '<%=WEBSITE_USRE_DOMAIN %>/SecondLogin.aspx?websitecode=<%=WEBSITE_CODE %>&domain=<%=WEBSITE_DOMAIN %>&url=<%=Request.RawUrl %>';
            }
            else {
                this.popupLayer.animate({
                    left: this.trigger.offset().left,
                    top: this.trigger.offset().top,
                    opacity: 0.1
                }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
            }
        }
    });
</script>
<div id="blk9dingpiao" class="blk">
    <div class="popup_title">
        <span class="float_r"><a href="javascript:void(0)" id="close9dingpiao">关闭</a></span>
        <ul>
            <li class="now"><a target="main">登录</a> </li>
        </ul>
    </div>
    <div>
        <iframe id="Logindingpiao" name="main" width="500" height="420" style="overflow: hidden;
            border: none;" frameborder="no"></iframe>
    </div>
</div>
<%} %>
<%
    if (UserId != "" && UserName != "" && modelCompany.CLAIM_STATE != 1)
    {
        
%>
<!--登录状态认领-->
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        //示例9，综合效果
        var shopClaim = new PopupLayer({ trigger: "#noClaim", popupBlk: "#shopClaim", closeBtn: "#shopClaimClose", useOverlay: true, useFx: true,
            offsets: {
                x: 0,
                y: -41
            }
        });
        shopClaim.doEffects = function (way) {
            if (way == "open") {

                this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                    this.popupLayer.animate({
                        left: ($(document).width() - this.popupLayer.width()) / 2,
                        top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                        opacity: 0.8
                    }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                } .binding(this));
                document.getElementById("frameshopClaim").src = "/Shop/ShopClaim.aspx?id=<%=Request.QueryString["id"] %>";                
            }
            else {
                this.popupLayer.animate({
                    left: this.trigger.offset().left,
                    top: this.trigger.offset().top,
                    opacity: 0.1
                }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
            }
        }
    });
   function shopClaimsuccess() {
       document.getElementById("content1").style.display = "none";
      document.getElementById("content2").style.display = "block";
    }
</script>
<div id="shopClaim" class="blk popup_main" style="width: 758px;">
    <div class="popup_title popup_title02">
        <span class="float_r"><a href="javascript:void(0)" class="close" title="关闭" id="shopClaimClose">
        </a></span>
    </div>
    <div class="popcont" id="content1">
        <!--left-->
        <div class="float_l w_340 popleftbor">
            <h2>
                <strong>欢迎您，<asp:Literal ID="litCompanyName" runat="server"></asp:Literal></strong></h2>
            <div>
                <p class="m-top-10">
                    请提交以下资料完成商户认领</p>
                <iframe id="frameshopClaim" frameborder="no" width="340px" height="160px" style="border: none;
                    background: none;"></iframe>
            </div>
            <div class="m_top_10">
                <p class="font14">
                    <strong>认领商户，您可以</strong></p>
                <ul class="arrowlist m_top_10">
                    <li>发布商户的特色信息，吸引跟多的游客</li>
                    <li>申请开通预定功能，进行在线销售</li>
                    <li>发布商铺的活动信息，时时促销优惠</li>
                    <li>不受宣传地域的限制，共享全国客户</li>
                </ul>
            </div>
        </div>
        <!--right-->
        <div class="float_r w_366">
            <h2>
                <strong>您也可以选择以下方式认领</strong></h2>
            <dl class="claimlist">
                <dt><strong>在线QQ</strong>:<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>&site=qq&menu=yes"><img
                    border="0" src="http://wpa.qq.com/pa?p=2:<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>:41"
                    alt="点击这里给我发消息" title="点击这里给我发消息" align="absmiddle" /></a></dt>
                <dd>
                    与我们的客服QQ进行沟通，进行网络进行商户的快速认领。</dd>
            </dl>
            <dl class="popcontact claimlist m_top_10">
                <dt><strong>电话认领</strong>：<span class="orange font14"><%=MODEL_BASE.WEBSITE_CONTACT_TEL%></span><span><%=MODEL_BASE.WEBSITE_CONTACT%></span></dt>
                <dd>
                    致电农家乐网，我们的客服人员会协助您进行此商户的认领。</dd>
            </dl>
            <dl class="claimlist m_top_10">
                <dt><strong>邮箱认领</strong>：<strong class="bluelink"><a href="mailto:<%=MODEL_BASE.WEBSITE_CONTACT_EMAIL%>"><%=MODEL_BASE.WEBSITE_CONTACT_EMAIL%></a></strong></dt>
                <dd>
                    您可以将以下相关资料发送至我们的客服邮箱，我们的工作人员会尽快与您联系，完成商户认领。</dd>
                <dd class="contlist">
                    <span>您的联系方式</span><span>营业执照复印件</span><span>税务登记证复印件</span>
                </dd>
            </dl>
        </div>
    </div>
    <div class="popcont" id="content2" style="display: none">
        <!--left-->
        <div class="float_l w_340 popleftbor">
            <h2>
                <strong>感谢您，武汉张工山寨</strong></h2>
            <div>
                <p class="m_top_10">
                    您的资料已经提交成功，我们的客服人员会在24小时内与您联系确认，为您绑定商户主页。请耐心等候...
                </p>
                <p class="m_top_10">
                    此期间如果您有什么问题想要咨询，可以拨打我们的服务电话<%=MODEL_BASE.WEBSITE_CONTACT_TEL%>，或者跟我们的客服人员进行在线沟通。
                </p>
                <p>
                    在线QQ<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>&site=qq&menu=yes"><img
                        border="0" src="http://wpa.qq.com/pa?p=2:<%=MODEL_BASE.WEBSITE_CONTACT_QQ %>:41"
                        alt="点击这里给我发消息" title="点击这里给我发消息" align="absmiddle" /></a></p>
            </div>
            <div class="m_top_10">
                <p class="font14">
                    <strong>认领商户，您可以</strong></p>
                <ul class="arrowlist m_top_10">
                    <li>发布商户的特色信息，吸引跟多的游客</li>
                    <li>申请开通预定功能，进行在线销售</li>
                    <li>发布商铺的活动信息，时时促销优惠</li>
                    <li>不受宣传地域的限制，共享全国客户</li>
                </ul>
            </div>
        </div>
        <!--right-->
        <div class="float_r w_366">
            <h2>
                <strong>等待的过程您可以在个人页面尽享如下操作</strong></h2>
            <div class="poplink">
                <p>
                    <span class="pop_link1"><a href="#" title="发主题"></a></span>发布一个您商铺最新的一个主题活动
                </p>
                <p>
                    <span class="pop_link2"><a href="#" title="随便逛逛"></a></span>看看游客们都在说啥？
                </p>
                <p>
                    <span class="pop_link3"><a href="#" title="漫游一下"></a></span>或者去其他您感兴趣的省站看看
                </p>
            </div>
            <!--开通-->
            <div class="popPrompt">
                <p>
                    <strong>已开通的省站</strong></p>
                <p class="m_top_10 greenlink font14">
                    <a href="#" target="_blank">北京</a> <a href="#" target="_blank">重庆</a> <a href="#"
                        target="_blank">武汉</a> <a href="#" target="_blank">陕西</a> <a href="#" target="_blank">
                            湖南</a>
                </p>
                <p class="m_top_10">
                    <strong>即将开通的省站</strong></p>
                <p class="m_top_10 orangelink font14">
                    <a href="#" target="_blank">山东</a> <a href="#" target="_blank">安徽</a> <a href="#"
                        target="_blank">四川</a> <a href="#" target="_blank">河南</a>
                </p>
            </div>
        </div>
    </div>
    <!--提示-->
    <div class="cleanFlex">
    </div>
    <div class="popPrompt m_top_10 center">
        <p class="orange">
            <strong>认领商户，轻松管理，快捷营销，为游客提供更贴心、更方便的服务！</strong>
        </p>
    </div>
</div>
<div id="shopClaimsuccess" class="blk popup_main" style="width: 758px; height: 400px;">
    <div class="popup_title popup_title02">
        <span class="float_r"><a href="#" class="close" title="关闭"></a></span>
    </div>
    <div class="popcont">
        <!--left-->
        <div class="float_l w_340 popleftbor">
            <h2>
                <strong>感谢您，武汉张工山寨</strong></h2>
            <div>
                <p class="m_top_10">
                    您的资料已经提交成功，我们的客服人员会在24小时内与您联系确认，为您绑定商户主页。请耐心等候...
                </p>
                <p class="m_top_10">
                    此期间如果您有什么问题想要咨询，可以拨打我们的服务电话<%=MODEL_BASE.WEBSITE_CONTACT_TEL%>，或者跟我们的客服人员进行在线沟通。
                </p>
                <p>
                    在线QQ</p>
            </div>
            <div class="m_top_10">
                <p class="font14">
                    <strong>认领商户，您可以</strong></p>
                <ul class="arrowlist m_top_10">
                    <li>发布商户的特色信息，吸引跟多的游客</li>
                    <li>申请开通预定功能，进行在线销售</li>
                    <li>发布商铺的活动信息，时时促销优惠</li>
                    <li>不受宣传地域的限制，共享全国客户</li>
                </ul>
            </div>
        </div>
        <!--right-->
        <div class="float_r w_366">
            <h2>
                <strong>等待的过程您可以在个人页面尽享如下操作</strong></h2>
            <div class="poplink">
                <p>
                    <span class="pop_link1"><a target="_blank" href="/AdminVisitor/AddInformation.aspx"
                        title="发主题"></a></span>发布一个您商铺最新的一个主题活动
                </p>
                <p>
                    <span class="pop_link2"><a target="_blank" href="/Play.aspx" title="随便逛逛"></a></span>
                    看看游客们都在说啥？
                </p>
                <p>
                    <span class="pop_link3"><a href="/" title="漫游一下"></a></span>或者去其他您感兴趣的省站看看
                </p>
            </div>
            <!--开通-->
            <div class="popPrompt">
                <p>
                    <strong>已开通的省站</strong></p>
                <p class="m_top_10 greenlink font14">
                    <a href="#" target="_blank">北京</a> <a href="#" target="_blank">重庆</a> <a href="#"
                        target="_blank">武汉</a> <a href="#" target="_blank">陕西</a> <a href="#" target="_blank">
                            湖南</a>
                </p>
                <p class="m_top_10">
                    <strong>即将开通的省站</strong></p>
                <p class="m_top_10 orangelink font14">
                    <a href="#" target="_blank">山东</a> <a href="#" target="_blank">安徽</a> <a href="#"
                        target="_blank">四川</a> <a href="#" target="_blank">河南</a>
                </p>
            </div>
        </div>
    </div>
    <!--提示-->
    <div class="cleanFlex">
    </div>
    <div class="popPrompt m_top_10 center">
        <p class="orange">
            <strong>认领商户，轻松管理，快捷营销，为游客提供更贴心、更方便的服务！</strong>
        </p>
    </div>
</div>
<%
    }
%>
<%
    if (modelCompany.CLAIM_STATE == 1)
    {
%>
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        //示例9，综合效果
        var xgzz = new PopupLayer({ trigger: "#xgzz", popupBlk: "#xgzzdiv", closeBtn: "#xgzzclose", useOverlay: true, useFx: true,
            offsets: {
                x: 0,
                y: -41
            }
        });
        xgzz.doEffects = function (way) {
            if (way == "open") {
                this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                    this.popupLayer.animate({
                        left: ($(document).width() - this.popupLayer.width()) / 2,
                        top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                        opacity: 0.8
                    }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                } .binding(this));
            }
            else {
                this.popupLayer.animate({
                    left: this.trigger.offset().left,
                    top: this.trigger.offset().top,
                    opacity: 0.1
                }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
            }
        }

    });
</script>
<div class="blk popup_main" id="xgzzdiv" style="width: 758px; height: 400px;">
    <div class="popup_title" style="width: 758px;">
        <span class="float_r"><a id="xgzzclose" href="javascript:void(0)" class="xgzzclose close"
            title="关闭"></a></span>
        <h2 class="font14">
            <strong>该商铺已经通过认证</strong>
        </h2>
    </div>
    <div class="popcont cont">
        <p class="m_top_10">
            通过认证后，商铺被收藏了<strong class="orange"><asp:Literal ID="litAttention" runat="server"></asp:Literal></strong>次，<strong
                class="orange" id="goodCount">56</strong>人感觉这里不错，<strong class="orange" id="playCount">200</strong>人想去这里玩。
        </p>
        <p class="center m_top_10 heightlight">
            <strong>将此商铺列入采购心愿单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;向其他人推荐一下该商户</strong>
        </p>
        <!--扫描件-->
        <div class="m_top_10 center flie">
            <span>
                <asp:Image ID="yezzimg" runat="server" Width="212" Height="212" /></span> <span>
                    <asp:Image ID="sudjimg" runat="server" Width="212" Height="212" /></span>
            <span>
                <asp:Image ID="imgxgzz" runat="server" Width="212" Height="212" /></span>
        </div>
    </div>
</div>
<%
    }
%>
<!--图片-->
<div>
    <p class="center">
        <a href="/shangpu/<%=Request.QueryString["id"] %>-index.html">
            <asp:Image ID="Image1" runat="server" Width="210px" Height="158px" CssClass="picBor"
                BorderWidth="1" />
        </a>
    </p>
</div>
<!--授权图标-->
<div class="shop-promise">
    <p id="xgzz">
        <%
            if (modelCompany.CLAIM_STATE == 1)
            {
        %>
        <span class="zheng<%=modelCompany.AUDIT_STATE_1==1?"":"gray" %>" style="cursor: pointer">
            诚信认证</span> <span class="shou<%=modelCompany.AUDIT_STATE_2==1?"":"gray" %>" style="cursor: pointer">
                预订授权</span> <span class="zhi<%=modelCompany.AUDIT_STATE_3==1?"":"gray" %>" style="cursor: pointer">
                    相关资质</span>
        <%
            }
            else
            {
        %>
 
        <div>
           联系<a style="cursor: pointer" id="noClaim" class="orange">农家乐网获得该商铺的管理权</a>
        </div>
        <%
            }
        %>
    </p>
</div>
<div id="contact" runat="server" class="contact m_top_10">
    <div class="leftBor">
        <h2>
            联系我们</h2>
    </div>
    <div class="cont">
        <p style="display: <%=string.IsNullOrEmpty(modelCompany.CONTACT)?"none":"block"%>">
            联系人:<strong class="orange"><asp:Literal ID="litContact" runat="server"></asp:Literal></strong>
        </p>
        <p style="display: <%=string.IsNullOrEmpty(modelCompany.MOBILE)?"none":"block"%>">
            手机:<strong class="orange font14"><asp:Literal ID="litMobelPhone" runat="server"></asp:Literal></strong>
        </p>
        <p style="display: <%=string.IsNullOrEmpty(modelCompany.TEL)?"none":"block"%>">
            电话:<strong class="orange font14"><asp:Literal ID="litTel" runat="server"></asp:Literal></strong>
        </p>
        <p style="display: <%=string.IsNullOrEmpty(modelCompany.QQ)?"none":"block"%>">
            QQ:<strong class="orange font14"><asp:Literal ID="litQQ" runat="server"></asp:Literal></strong>
        </p>
        <p style="display: <%=string.IsNullOrEmpty(modelCompany.MSN)?"none":"block"%>">
            MSN:<strong class="orange font14"><asp:Literal ID="litMsn" runat="server"></asp:Literal></strong>
        </p>
        <p style="display: <%=string.IsNullOrEmpty(modelCompany.FAX)?"none":"block"%>">
            传真:<strong class="orange font14"><asp:Literal ID="ltlFax" runat="server"></asp:Literal></strong>
        </p>
        <p style="display: <%=string.IsNullOrEmpty(modelCompany.POST_CODE)?"none":"block"%>">
            邮编:<strong class="orange font14"><asp:Literal ID="ltlPostCode" runat="server"></asp:Literal></strong>
        </p>
        <p style="display: <%=string.IsNullOrEmpty(modelCompany.ADDRESS)?"none":"block"%>">
            地址:<strong class="orange font14"><asp:Literal ID="ltlAddress" runat="server"></asp:Literal></strong>
        </p>
    </div>
</div>
